<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        this.map = [
            [
                [
                    [this.x, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y - 30],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x + 30, this.y - 30],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x + 30, this.y - 30],
                    [this.x, this.y]
                ] //ok
            ],
            [
                [
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x + 30, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 60],
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x + 30, this.y - 30],
                    [this.x - 30, this.y]
                ] //ok
            ],
            [
                [
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x, this.y],
                    [this.x - 30, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x + 30, this.y - 60],
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x + 30, this.y - 30],
                    [this.x + 30, this.y]
                ] //ok
            ],
            [
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y],
                    [this.x, this.y]
                ] //ok
            ],
            [
                [
                    [this.x, this.y - 90],
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 60, this.y],
                    [this.x - 30, this.y],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x, this.y - 90],
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x, this.y]
                ], //ok
                [
                    [this.x - 60, this.y],
                    [this.x - 30, this.y],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ] //ok
            ],
            [
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y - 30],
                    [this.x - 30, this.y]
                ], //ok
                [
                    [this.x - 30, this.y - 30],
                    [this.x, this.y - 30],
                    [this.x, this.y],
                    [this.x + 30, this.y]
                ], //ok
                [
                    [this.x, this.y - 60],
                    [this.x, this.y - 30],
                    [this.x - 30, this.y - 30],
                    [this.x - 30, this.y]
                ] //ok
            ]
        ]
        const [a, ...b] = [1, 2, 3, 4];
        const [c, ...d] = [1];
        console.log(a)
        console.log(b)
        console.log(c)
        console.log(d)
    </script>
</body>

</html>